home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 36 / PC Gamer IT CD 36 2-2.iso / SINDEMO / sindemo2.exe / data / base / pak0.pak / models / hcofficer2.def < prev    next >
Text File  |  1998-09-22  |  11KB  |  300 lines

  1. SDEF
  2. // -----------------------------------------------------------------------------
  3. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Hero/hcofficer2.def   $
  4. // $Revision:: 43                                                             $
  5. //   $Author:: Joeske                                                         $
  6. //     $Date:: 9/22/98 12:20p                                                 $
  7. //
  8. // Copyright (C) 1998 by Ritual Entertainment, Inc.
  9. // All rights reserved.
  10. //
  11. // This source may not be distributed and/or modified without
  12. // expressly written permission by Ritual Entertainment, Inc.
  13. //
  14. // This is a model definition file.  It is to be used in conjunction with Sin.
  15. //
  16. // -----------------------------------------------------------------------------
  17. // MODEL DESCRIPTION:
  18. // HC Officer #2 (without helmet), base model.
  19. //
  20. // MODEL AUTHOR:
  21. // Beau
  22. //
  23.  
  24. // -----------------------------------------------------------------------------
  25. // FILE DECLARATIONS
  26. //
  27. // Model Commands
  28. path models/hcofficer
  29. scale 1.16
  30.  
  31. // Base Model
  32. hcofficer_base.sbm
  33.  
  34. // Skins
  35. normal       hcofficer2_base.tga
  36. damage       hcofficer2_damage.tga
  37.  
  38. // Normal Animations
  39. alert           hcofficer_alert.sam
  40. walk1          hcofficer_walk.sam
  41. run1           hcofficer_run.sam
  42. idle1          hcofficer_idle1.sam
  43. twitch1        hcofficer_idle2.sam
  44. readyfire1     hcofficer_readyfire.sam
  45. aim1           hcofficer_aim.sam
  46. fire1          hcofficer_fire.sam
  47. // crouch_down                
  48. // crouch_idle                
  49.  
  50. // Pain Location Based Animations
  51. pain1          hcofficer_paintorsoupper.sam
  52. pain2          hcofficer_paintorsolower.sam
  53. pain3          hcofficer_painhead.sam
  54.  
  55. pain_head              hcofficer_painhead.sam
  56. pain_torso_upper       hcofficer_paintorsoupper.sam
  57. pain_torso_lower       hcofficer_paintorsolower.sam
  58. pain_leg_right_upper   hcofficer_painlegright.sam
  59. pain_leg_right_lower   hcofficer_painlegright.sam
  60. pain_leg_left_upper    hcofficer_painlegleft.sam
  61. pain_leg_left_lower    hcofficer_painlegleft.sam
  62. pain_arm_right_upper   hcofficer_painarmright.sam
  63. pain_arm_right_lower   hcofficer_painarmright.sam
  64. pain_arm_left_upper    hcofficer_painarmleft.sam
  65. pain_arm_left_lower    hcofficer_painarmleft.sam
  66.  
  67. // Death Location Based Animations
  68. death1         hcofficer_death1.sam
  69. death2         hcofficer_death2.sam
  70. death3         hcofficer_death3.sam
  71.  
  72. // Crouching Pain Location Based Animations
  73.  
  74. // Crouching Death Location Based Animations
  75.  
  76. // Optional Animations
  77. //runfire1       hcofficer_runfire.sam
  78. sitting1       hcofficer_sitting.sam
  79. sitting2       hcofficer_sitting2.sam
  80.  
  81. // Scripted Animations
  82.  
  83. // Id And Group Definitions
  84. id 5 group head                 flesh 
  85. group head damage               8.0
  86. id 15 group torso_upper         fabric 
  87. group torso_upper damage        1.0
  88. id 18 group torso_lower         fabric 
  89. group torso_lower damage        1.0
  90. id 45 group leg_left_upper      fabric 
  91. group leg_left_upper damage     0.8
  92. id 50 group leg_left_lower      fabric 
  93. group leg_left_lower damage     0.5
  94. id 65 group leg_right_upper     fabric 
  95. group leg_right_upper damage    0.8
  96. id 70 group leg_right_lower     fabric 
  97. group leg_right_lower damage    0.5
  98. id 85 group arm_left_upper      flesh 
  99. group arm_left_upper damage     0.8
  100. id 90 group arm_left_lower      flesh 
  101. group arm_left_lower damage     0.5
  102. id 102 group arm_right_upper    flesh 
  103. group arm_right_upper damage    0.8
  104. id 110 group arm_right_lower    flesh 
  105. group arm_right_lower damage    0.5
  106. id 105 group helmet ricochet    metal nodraw 
  107. group helmet damage             0.3
  108. id 200 group arm_right_lower bone gun 10 160 -2
  109.  
  110. // -----------------------------------------------------------------------------
  111. // INITIALIZATION SECTION
  112. //
  113. !init:
  114. //
  115. // SERVER Initialization Commands
  116. //
  117. // Class Setup
  118. server classname actor
  119. server script global/friend.scr
  120. server setsize "-16 -16 0" "16 16 80"
  121. server crouchsize "-16 -16 0" "16 16 48"
  122. server health 50
  123. server item FlakJacket 70
  124.  
  125. // Sound Aliases
  126. server aliascache snd_sight1 "misc/hc/site1.wav" 1
  127. server aliascache snd_sight2 "misc/hc/site2.wav" 1
  128.  
  129. server aliascache snd_panic1 "misc/hc/panic1.wav" 1
  130. server aliascache snd_panic2 "misc/hc/panic2.wav" 1
  131.  
  132. //
  133. // CLIENT Initialization Commands
  134. //
  135. // Sound Aliases
  136. client aliascache snd_idle1 "misc/null.wav" 1
  137.  
  138. client aliascache snd_pain1 "misc/hc/pain1.wav" 1
  139. client aliascache snd_pain2 "misc/hc/pain2.wav" 1
  140. client aliascache snd_pain3 "misc/hc/pain3.wav" 1
  141. client aliascache snd_pain4 "misc/hc/pain4.wav" 1
  142. client aliascache snd_pain5 "misc/hc/pain5.wav" 1
  143. client aliascache snd_pain6 "misc/hc/pain6.wav" 1
  144.  
  145. client aliascache snd_pain_leg1 "misc/hc/painleg1.wav" 1
  146. client aliascache snd_pain_leg2 "misc/hc/pain2.wav" 1
  147. client aliascache snd_pain_leg3 "misc/hc/pain3.wav" 1
  148. client aliascache snd_pain_leg4 "misc/hc/pain4.wav" 1
  149.  
  150. client aliascache snd_pain_head1 "misc/hc/painhed1.wav" 1
  151. client aliascache snd_pain_head2 "misc/hc/pain1.wav" 1
  152.  
  153. client aliascache snd_death1 "misc/hc/death1.wav" 1
  154. client aliascache snd_death2 "misc/hc/death2.wav" 1
  155. client aliascache snd_death3 "misc/hc/death3.wav" 1
  156. client aliascache snd_death4 "misc/hc/death4.wav" 1
  157.  
  158. client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
  159. client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
  160. client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
  161. client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
  162. client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
  163. client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
  164. client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
  165.  
  166. // -----------------------------------------------------------------------------
  167. // MAIN SECTION
  168. //
  169. !main:
  170.  
  171. // Special Commands
  172. // server crouch_down last nextanim crouch_idle
  173.  
  174. // Normal Animations
  175. server fire1  2 fire
  176.  
  177. server walk1  5 movementsound
  178. server walk1 11 movementsound
  179. client walk1  5 footstep
  180. client walk1 11 footstep
  181.  
  182. server run1   0 movementsound
  183. server run1   4 movementsound
  184. client run1   0 footstep
  185. client run1   4 footstep
  186.  
  187. // Pain Location Based Animations
  188. server pain_head             first painsound
  189. client pain_head             first randomsound snd_pain_head 1 2
  190. server pain_torso_upper      first painsound
  191. client pain_torso_upper      first randomsound snd_pain 1 2
  192. server pain_torso_lower      first painsound
  193. client pain_torso_lower      first randomsound snd_pain 1 2
  194. server pain_leg_right_upper  first painsound
  195. client pain_leg_right_upper  first randomsound snd_pain_leg 1 2
  196. server pain_leg_left_upper   first painsound
  197. client pain_leg_left_upper   first randomsound snd_pain_leg 1 2
  198. server pain_leg_right_lower  first painsound
  199. client pain_leg_right_lower  first randomsound snd_pain_leg 1 2
  200. server pain_leg_left_lower   first painsound
  201. client pain_leg_left_lower   first randomsound snd_pain_leg 1 2
  202. server pain_arm_right_upper  first painsound
  203. client pain_arm_right_upper  first randomsound snd_pain 1 2
  204. server pain_arm_left_upper   first painsound
  205. client pain_arm_left_upper   first randomsound snd_pain 1 2
  206. server pain_arm_right_lower  first painsound
  207. client pain_arm_right_lower  first randomsound snd_pain 1 2
  208. server pain_arm_left_lower   first painsound
  209. client pain_arm_left_lower   first randomsound snd_pain 1 2
  210.  
  211. // Death Location Based Animations
  212. server death1 first deathsound
  213. client death1 first randomsound snd_death 1 2
  214. client death1     4 randomsound snd_bodyfall 1 4
  215. server death2 first deathsound
  216. client death2 first randomsound snd_death 1 2
  217. client death2     5 randomsound snd_bodyfall 1 4
  218. server death3 first deathsound
  219. client death3 first randomsound snd_death 1 2
  220. client death3     1 randomsound snd_kneefall 1 4
  221. client death3     6 randomsound snd_partfall 1 4
  222.  
  223. //server death_head first deathsound
  224. //client death_head first randomsound snd_death 1 2
  225. //client death_head  6 randomsound snd_kneefall 1 4
  226. //client death_head  9 randomsound snd_partfall 1 4
  227. //server death_torso_upper first deathsound
  228. //client death_torso_upper first randomsound snd_death 1 2
  229. //client death_torso_upper  6 randomsound snd_kneefall 1 4
  230. //client death_torso_upper  9 randomsound snd_partfall 1 4
  231. //server death_torso_lower first deathsound
  232. //client death_torso_lower first randomsound snd_death 1 2
  233. //client death_torso_lower  7 randomsound snd_bodyfall 1 4
  234. //client death_torso_lower 14 randomsound snd_kneefall 1 4
  235. //client death_torso_lower 17 randomsound snd_kneefall 1 4
  236. //server death_arm_right_upper first deathsound
  237. //client death_arm_right_upper first randomsound snd_death 1 2
  238. //client death_arm_right_upper 3 randomsound snd_bodyfall 1 4
  239. //server death_arm_right_lower first deathsound
  240. //client death_arm_right_lower first randomsound snd_death 1 2
  241. //client death_arm_right_lower 3 randomsound snd_bodyfall 1 4
  242. //server death_arm_left_upper first deathsound
  243. //client death_arm_left_upper first randomsound snd_death_long 1 2
  244. //client death_arm_left_upper  4 randomsound snd_bodyfall 1 4
  245. //client death_arm_left_upper  7 randomsound snd_kneefall 1 4
  246. //client death_arm_left_upper 28 randomsound snd_bodyfall 1 4
  247. //server death_arm_left_lower first deathsound
  248. //client death_arm_left_lower first randomsound snd_death_long 1 2
  249. //client death_arm_left_lower  4 randomsound snd_bodyfall 1 4
  250. //client death_arm_left_lower  7 randomsound snd_kneefall 1 4
  251. //client death_arm_left_lower 28 randomsound snd_bodyfall 1 4
  252. //server death_leg_right_upper first deathsound
  253. //client death_leg_right_upper first randomsound snd_death 1 2
  254. //client death_leg_right_upper  7 randomsound snd_bodyfall 1 4
  255. //client death_leg_right_upper 14 randomsound snd_kneefall 1 4
  256. //client death_leg_right_upper 17 randomsound snd_kneefall 1 4
  257. //server death_leg_right_lower first deathsound
  258. //client death_leg_right_lower first randomsound snd_death 1 2
  259. //client death_leg_right_lower  7 randomsound snd_bodyfall 1 4
  260. //client death_leg_right_lower 14 randomsound snd_kneefall 1 4
  261. //client death_leg_right_lower 17 randomsound snd_kneefall 1 4
  262. //server death_leg_left_upper first deathsound
  263. //client death_leg_left_upper first randomsound snd_death 1 2
  264. //client death_leg_left_upper  7 randomsound snd_bodyfall 1 4
  265. //client death_leg_left_upper 14 randomsound snd_kneefall 1 4
  266. //client death_leg_left_upper 17 randomsound snd_kneefall 1 4
  267. //server death_leg_left_lower first deathsound
  268. //client death_leg_left_lower first randomsound snd_death 1 2
  269. //client death_leg_left_lower  7 randomsound snd_bodyfall 1 4
  270. //client death_leg_left_lower 14 randomsound snd_kneefall 1 4
  271. //client death_leg_left_lower 17 randomsound snd_kneefall 1 4
  272.  
  273. // Optional Animations
  274.  
  275. // -----------------------------------------------------------------------------
  276. // SOURCESAFE Update Log
  277. //
  278. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Hero/hcofficer2.def        $
  279. // 
  280. // 43    9/22/98 12:20p Joeske
  281. // Removed run2 references, animation no longer exists.
  282. // 
  283. // 42    9/22/98 11:39a Joeske
  284. // Commented out the RunFire animation for now since we shouldn't use it.
  285. // 
  286. // 41    9/21/98 5:10p Beau
  287. // 
  288. // 40    9/20/98 6:23p Joeske
  289. // Reformatted file and verified animations.
  290. // 
  291. //
  292. // -----------------------------------------------------------------------------
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.